//
//  CacheMemory.h
//  Dispatch
//
//  Created by hyeyeon on 14. 2. 5..
//  Copyright (c) 2014년 hyeyeon. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CacheMemory : NSObject
{
    NSDateFormatter *dateFormatter;
}
@property (nonatomic,assign) id delegate;
@property (nonatomic,retain) NSString *mPath;
@property (nonatomic,retain) NSString *infoPath;
@property (nonatomic,retain) NSFileManager *fileManager;
@property (nonatomic,retain) NSCalendar *calendar;




//이미지지우기
-(void)removeCacheBefore:(int)day;
-(void)emptyCache;

//저장
-(void)saveImage:(NSData*)imageData andFileName:(NSString*)fileName;

//부르기
-(UIImage*)findImage:(NSString*)fileName;
@end
